package com._54programer.ws;

import java.io.Serializable;
import java.util.Set;

import com.alibaba.fastjson.JSONObject;

import io.netty.channel.Channel;
import lombok.Data;

@Data
public class Message implements Serializable {
	private static final long serialVersionUID = 5329355584764066057L;
	private String command;//命令码
	private JSONObject data;//数据消息
	private String channelId;//channel长id
	private String uuId;//channel段id
	private int messageType;//消息类型
	private Set<Channel> messageTypeParams;//消息类型参数{指令对象:群组[xxx,xxx,xxx...]，广播[]，个人[xxx]}
	private String groupId;//群组ID
	private String serverId;//服务器唯一标识符
	private String messageTypeParams2;//服务器唯一标识符
}
